<?php

namespace app\pc\controller;
use app\base\controller\Base;
use think\Request;
use think\Cache;
use think\Config;
use think\Session;


// 充值 提现记录
class Pcaccount extends Base
{
    public  $model;
    public function __construct()
    {
        $this->model = model("UsersJournalAccount");
        parent::__construct();
        $this->BaseWhere = ['a.user_id'=>$this->sidRows['id']];
    }


    /**
     * @return \think\response\Json 正方向
     */
    public function positive(){

        $where = $this->RealData;
        $where['a.type'] = ['in',"34,35,37,36,23,22,21"];
        $where = array_merge($this->BaseWhere,$where);
        $res =   $this->model->PcPage($where);
        if(empty($res)){
            return failJson("暂无充值记录");
        }
        return   resJson(1,$this->ecLang("query"),$res['res'],$res['pageInfo']);
    }





}
